def recursiveSum(arr):
	if len(arr) == 1:
		return arr[0]
	return arr[0] + recursiveSum(arr[1:])

target = [123,123,1,32,32,3,7,5,7,6]
target2 = [1,2,3,4]

print(recursiveSum(target))
print(recursiveSum(target2))
